c FILE NAME: 16mmTG43_seed8.m
c MC CODE: MCNP6.2, Los Alamos National Laboratory
c DESCRIPTION: Test case 2 - 13 6711 seeds in water phantom as in 16 mm
c COMS plaque with no interseed effects (TG-43); see [reference].
c DISCLAIMER: This file (and associated code/files) is provided in the
c hope that it will be useful but without any warranty; without even the
c implied warranty of fitness for a particular purpose. See full 
c disclaimer at [link]
c COPYRIGHT (C) 2023 Hali Morrison (hali.morrison@ahs.ca)
c REDISTRIBUTION: redistribution of this and all associated files is NOT
c permitted.
c SOURCE OF THIS FILE: [link]
c
OncoSeed 6711 as per plaque position, TG-43 conditions
c Cell cards
1     2  -6.2     (2 -7 18 -19)	u=1		$ I-125 coating wall
2     2  -6.2	   (-1 10 -5)	u=1		$ I-125 coating left end
3     2  -6.2	   (-1 -11 6)	u=1  		$ I-125 coating right end
4     2  -6.2	   (-8 3 -18 10 1 -7) u=1	$ I-125 coating left bevel	
5     2  -6.2	   (-9 4 19 -11 1 -7) u=1	$ I-125 coating right bevel
6     3  -10.5     (-2 18 -19):(-3 5 -18):(-4 19 -6) u=1 $ Inner silver marker
7     4  -0.001784 -12 14 -15 #1 #2 #3 #4 #5 #6 u=1      $ Argon fill gas
8     5  -4.54	   (-13 12 14 -15) u=1		$ Titanium cylinder
9     5  -4.54     (-16 -14) u=1	 	$ Titanium left end cap
10    5  -4.54	   (-17 15) u=1			$ Titanium right end cap
18    8  -0.998	   (15 17):(-14 16):(13 14 -15) u=1	
19    8  -0.998 -107 fill=1  trcl=1			$ Seed #X
c 
40  8  -0.998	(-100 101 105 -103):(-103 102 104 -105)
		:(-100 101 -102 -105 104)		$Gold plaque
41  8  -0.998	(106 -102 -101 104) #19			$Silastic
42  8  -0.998	-106 					$Eye
43  8  -0.998	(-103 105 100 -994)			$Water
		:(103 106 -994)
		:(-104 106 -103 300)
		:(106 -103 -300 -994)
c 
300  0		994					$Outside world

c Surface cards
1    cx    0.0175              $  Ag marker inner cyl radius
2    cx    0.0250              $  Ag marker outer cyl radius
3    kx   -0.1575 1 1		$  left side cone/bevel
4    kx    0.1575 1 -1		$  right side cone/bevel
5    px   -0.1400		$  Ag marker left end
6    px    0.1400		$  Ag marker right end
7    cx    0.025175		$  I-125 coating outer cyl radius
8    kx   -0.157675 1 1	$  I-125 coating left cone/bevel
9    kx    0.157675 1 -1	$  I-125 coating right cone/bevel
10   px   -0.140175		$  I-125 coating left plane
11   px    0.140175		$  I-125 coating right plane
12   cx    0.0330		$  Ti inner cyl radius
13   cx    0.0400  		$  Ti outer cyl radius
14   px   -0.1900		$  left plane end-weld edge
15   px    0.1900		$  right plane end-weld edge
16   sx   -0.1874167 0.0400833	$  left end-weld hemisphere
17   sx    0.1874167 0.0400833	$  right end-weld hemisphere
18   px   -0.1325		$  left bevel start
19   px    0.1325		$  right bevel start
c
100  so  1.505  	$Outer Gold shell
101  so  1.455  	$Inner gold shell
102  cy  0.80		$Inner gold lip
103  cy  0.85		$Outer gold lip
104  py  0.934291175	$cap height
105  py  1.215329175	$plaque cap
106  so  1.23		$eye
107  BOX -0.22775 -0.04025 -0.04025  0.4555 0 0  0 0.0805 0  0 0 0.0805
c
300	py	0
c
994  BOX  -7.5 -6.37 -7.5 15 0 0 0 15 0 0 0 15		$World limit

mode P
imp:p  1 15r 0
c
SDEF par=2
     erg=d1
     cel=d2
     pos=fcel d3
     rad=fcel d4
     ext=fcel d5
     axs=1 0 0
     eff=0.005
c
SI1  L 0.0354925 0.031704 0.030995 0.030944 0.027472 0.027202 $ NNDC I-125
SP1  D 0.0668    0.0375   0.130    0.0674   0.731    0.396    $ no 3.77 keV
c Current NNDC spectrum
c
SI2  L   (1<19)	(2<19) (3<19) (4<19) (5<19)   $ cells
SP2  V    			              $ volumes cm^3
C
DS3  L  0       0 0                   $ position distribution
       -0.1400875 0 0
        0.1400875 0 0
       -0.1363375 0 0
	0.1363375 0 0
c
DS4  S 11 12 13 14 15                       $ radial distribution
SI11   0.0250 0.025175
SP11 -21 1
SI12   0     0.0175
SP12 -21 1
SI13   0     0.0175
SP13 -21 1
SI14   0.0175   0.0250
SP14 -21 1
SI15   0.0175   0.0250
SP15 -21 1
c
DS5  S 21 22 23 24 25                      $ length distribution
SI21 -0.1325    0.1325
SP21 -21 0
SI22 -0.0000875 0.0000875
SP22 -21 0
SI23 -0.0000875 0.0000875
SP23 -21 0
SI24 -0.0038375 0.0038375
SP24 -21 0
SI25 -0.0038375 0.0038375
SP25 -21 0
c
c
*FMESH24:p	geom=xyz origin=-1.2750 -1.345 -1.2750
		imesh 1.2750 iints 51
		jmesh 1.205 jints 51
		kmesh 1.2750 kints 51
c
DE24  0.001   0.0015  0.002   0.003   0.004   0.005   0.006   0.008
      0.010   0.015   0.02    0.03    0.04    0.05
      0.06    0.08    0.1     0.15    0.2     0.3     0.4     0.5
      0.6     0.8     1.0     1.25    1.5     2.0
DF24  4065 1372 615.2 191.7 81.91 41.88 24.05 9.915 
	4.944 1.374 0.5503 0.1557 0.06947 0.04223
	0.0319 0.02597 0.02546 0.02764 0.02967 0.03192 
	0.03279 0.03299 0.03284 0.03206 0.03103 0.02965
	0.02833 0.02608
c     http://physics.nist.gov/PhysRefData/XrayMassCoef/ComTab/water.html
FC24 FMESH dose matching CLRP data with 0.5mm^3 voxels
c
c
c Material card
M2 47000 3.5  35000 2.5 53000 1 	$ AgBr/AgI 2.5:1 mixture, p=6.2
M3 47000            1                	$ Ag radio-opaque marker, p=10.5
M4 18000  1				$ Argon fill gas
M5 22000  1                          	$ Ti capsule, p=4.54
c M6 79000 -0.77 47000 -0.14 29000 -0.08 46000 -0.01		 $Modulay
c M7 6000 -0.249 1000 -0.06 8000 -0.289 14000 -0.40 78000 -0.00005 $Silastic
M8 1000 2 8000 1 			$water
c
c TR1 -0.568 1.217 -0.273 -0.4339 0 0.9010 0 1 0 -0.9010 0 -0.4339   $Seed 1
c TR1 -0.140 1.217 -0.614 -0.9749 0 0.2225 0 1 0 -0.2225 0 -0.9749 $Seed 2
c TR1 0.393 1.217 -0.493 -0.7818 0 -0.6235 0 1 0 0.6235 0 -0.7818  $Seed 3
c TR1 0.630 1.217 0 0 0 -1 0 1 0 1 0 0			 	 $Seed 4
c TR1 0.393 1.217 0.493 0.7818 0 -0.6235 0 1 0 0.6235 0 0.7818 	 $Seed 5
c TR1 -0.140 1.217 0.614 0.9749 0 0.2225 0 1 0 -0.2225 0 0.9749	 $Seed 6
c TR1 -0.568 1.217 0.273 0.4339 0 0.9010 0 1 0 -0.9010 0 0.4339	 $Seed 7
TR1 -0.450 1.294 0 0 0 1 0 1 0 -1 0 0			 	 $Seed 8
c TR1 0 1.294 -0.450 -1 0 0 0 1 0 0 0 -1			 $Seed 9
c TR1 0.450 1.294 0 0 0 -1 0 1 0 1 0 0				 $Seed 10
c TR1 0 1.294 0.450 1 0 0 0 1 0 0 0 1				 $Seed 11
c TR1 0 1.358 -0.180 -1 0 0 0 1 0 0 0 -1			 $Seed 12
c TR1 0 1.358 0.180 1 0 0 0 1 0 0 0 1				 $Seed 13
c
prdmp j 2e8 0 2
RAND  gen=2 seed=15
NPS   5e9

